package com.intellagric.mapper;

import com.intellagric.pojo.AgriecomNewsType;
import com.intellagric.pojo.AgriecomNewsTypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AgriecomNewsTypeMapper {
    long countByExample(AgriecomNewsTypeExample example);

    int deleteByExample(AgriecomNewsTypeExample example);

    int deleteByPrimaryKey(String id);

    int insert(AgriecomNewsType record);

    int insertSelective(AgriecomNewsType record);

    List<AgriecomNewsType> selectByExample(AgriecomNewsTypeExample example);

    AgriecomNewsType selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") AgriecomNewsType record, @Param("example") AgriecomNewsTypeExample example);

    int updateByExample(@Param("record") AgriecomNewsType record, @Param("example") AgriecomNewsTypeExample example);

    int updateByPrimaryKeySelective(AgriecomNewsType record);

    int updateByPrimaryKey(AgriecomNewsType record);
}